The ransomware attack on the country’s second-largest school district sounded alarms across the country, from urgent talks with the White House and the National Security Council.