Children will be recruited to a trial with the agreement of their parents and NHS gender services.