There have been hundreds of infections in juvenile detention centers within the first six months of the pandemic, despite measures to reduce youth prison populations.