Enrollment in the city’s K-12 and preschool programs fell by about 22,000, or 2.4%, compared to last year, according to the U.S. Education Department.