This is not about parental rights. It's about removing harmful practices. No different than removing a drug that is proven to be harmful or dangerous.
Maybe there should be additional programs for parents to better understand what their children might be going through and to be better prepared to accept that these things are not illnesses or defects. Parents have to realize that they can try to influence their children, but ultimately each child is a unique being that needs to be free to become who they need to be.