The strongest predictor for someone being accepting of trans people is... knowing trans people.
Or even knowing of trans people. I was raised in a conservative family and society. If not for access to the stories of trans people that the internet gave me, I would probably have ended up as a deeply repressed, self-hating transphobe.
The world needs us.