The Education Department says it is investigating potential civil rights violations at two universities and a high school sports league that allowed transgender athletes to compete on women’s teams.