Supreme Court hears case on banning treatments for transgender minors