The mayor said that urban school systems around the country, including Boston Public Schools, are anticipating declines in attendance.