The Supreme Court is set to hear the first-ever case on the legality of bans targeting transgender procedures for minors.