Federal officials could withhold funding from schools that allow transgender women and girls to play women's sports.