Prolonged school closures may have set back an entire generation of American children, with students from minority or poorer families suffering most.