Transgender minors and their parents, guardians and doctors have challenged bans in 18 states, with mixed results.