A federal judge is allowing a lawsuit against transgender facilities in a school district to proceed, but warned the student-plaintiffs that, if the government allows boys who claim to be female to use the girls’ bathrooms and locker rooms, then the girls have no right to “visual bodily privacy.”