The girl’s school had told her parents she couldn’t play on the team anymore after the passage of the state’s anti-trans sports bill.