“Rather than protecting children or safeguarding medical ethics, the evidence showed that the prohibited medical care improves the mental health and well-being of patients and that, by prohibiting it, the state undermined the interests it claims to be advancing,” Moody wrote in his ruling.