The claim shared with a conservative commentator has prompted an investigation and fueled critics of transgender athletes in girls’ sports.