I personally lean strongly towards gender identity being innate, probably because I have felt trans all my life (since 2 years and 11 months old). As for the alternative you raised, I guess, as long as one can argue that trans identity is immutable after some point (and hence not a lifestyle choice), then trans rights can still be fully justified. So it probably doesn’t matter either way.