The N.B.A. championship was a win for Mayor Mamdani, but the city’s public-school kids, stuck taking their Regents exams as the ticker-tape parade thundered past their windows, weren’t so sure.