A federal appeals court ruled Monday that Alabama can enforce a ban outlawing the use of puberty blockers and hormones to treat transgender children, the second such appellate victory for gender-affirming care restrictions that have been adopted by a growing number of Republican-led states.