Florida Gov. Ron DeSantis signed a wide-ranging education bill that included banning transgender female athletes from competing on high-school girls’ and college women’s sports teams.