A Texas appeals court upheld two injunctions in a pair of legal cases Friday, in an order blocking the state’s Department of Family and Protective Services from investigating families of transgender youth who are seeking gender-affirming medical care for their children.