Whether in Russia, Ukraine or the [neo]imperialist West, the roots of anti-LGBTQ+ oppression are the same: class society. Oppression is a built-in feature wherever capitalism is the dominant mode of production.
War is also in capitalism’s DNA. The U.S. is waging war against Russia in order to subdue its capitalist rival. It has nothing to do with the worldwide fight for LGBTQ+ civil rights.
Likewise, the LGBTQ+ community should have nothing to do with the imperialist war machine!
Justice can be achieved in a socialist society. After the Russian Revolution, along with establishing legal rights for women, the Bolsheviks eliminated the Tsarist regime’s anti-gay laws. Socialist Cuba’s 2022 Family Code — the “law of love” — protects the rights of LGBTQ+ people and their relationships.