Researchers and the UK regulator say the study is going to help improve care for children questioning their gender.