Appeals court upholds Alabama limits on transgender procedures for minors