When the kindergartners at the Brooklyn School of Inquiry, one of New York City’s schools for gifted students, form neat boy-girl rows for the start of recess, the lines of girls reach well beyond the lines of boys.