The bill would also prevent local governments and parents from barring mental health therapy for transgender minors.