you can say basically the same thing about penicillin, the internet, and indoor plumbing. none of those things were around for most of human history, but *spoiler alert* that doesn't have anything to do with anything unless "new thing bad!!!!!!!!!!!!!!!!!!!!!!!!!!!1111111" is really your political philosophy.
and even if it the case that being trans is literally completely new to the 21st century (lmao please for the love of god read one fucking history book someday, i'm begging you), that doesn't really have anything to do with the fact that it's morally wrong to use the state to police gender identity.