The legal theory used to restrict gender-affirming care for minors could be applied broadly, experts say.