The Supreme Court was unlikely to strike down a state ban on some pediatric medical treatments, but the Biden Justice Department’s strategy made it even more improbable.