An Indiana law banning gender-affirming care for minors can remain in effect, a federal appeals court has ruled months after allowing the ban to take effect.