Who was denied a visa for being trans? Citation needed. Were they denied because they were trans, or were they denied for another reason but happened to be trans.
If sex on your passport doesn't match your sex at birth then according to Marco Rubio you may have your visa rejected.
The current advice from the German government to me (a trans woman) is that I am ineligible to enter the US and will be detained at the border for presenting 'fraudulently'.
You can get your documentation corrected an then enter.