The Republican leader has repeatedly sought to limit the ability of transgender people to serve in US armed forces.