The solution to queerphobia is organized class suicide. The material base of the family is petty-bourgeois private homeownership. Women and openly queer people face a material pressure to move to the city and rent in order to live outside of the petty-bourgeois division of reproductive labor and bourgeois property inheritance. Nothing less than class suicide will free queer people from queerphobia.
In the context of the periphery and the peasantry, queerphobia and misogyny must be fought with by economic development. There is also the issue of queerphobic lumpen who envy the bourgeoisie. The solution here is economic development and developing the class consciousness of the oppressed.
Kind of shit that Mao Zedong Thought IRL is tainted by peasant/semi-feudal reaction but that's life. But yeah, the solution to queerphobia is organized class suicide or class development.