Is it being stocked in schools as a result of government policy? Do you want a party that will limit those types of books being in schools?
Is it just being printed by a publishing firm, and being sold in private shops? In which case what would you actually want a right leaning government to do? Bn obscene books? Ban books that preach unhealthy messages to children? Both are options, but I don't see the point in voting for someone out of anger at something which isn't directly in the governments control anyway. Its like voting for Labour in the general election because you are mad that they collect bins on Wednesdays not Thursdays now. Thats the local councils remit.
In America its weirder because so much of educational decisions (what books belong in school libraries etc) is a matter for States/local education boards not the President anyway. I can understand people not voting left because they were annoyed at Dylan Mulvaney getting a private audience with Joe Biden, or at the White House event where the transwoman got their tits out, or at title 9 being eroded etc etc etc. Because that actually is in the President's power.
The trans issue is a bit special, because there is quite clear evidence that there was an attempt to astro-turf support for the movement and influence politicians (Denton's). So, I don't think people are wrong to see the connections and patterns. But the way you deal with a party mandating the inclusion of transwomen in women's support is by not voting for that party (if its a red line for you). The way you deal with a publishing firm advertising a book about how great it is that transwomen are in women's sport is by not buying that book and maybe also boycotting the publishing firm. Muddling the two together doesn't help and makes it easier to dismiss people's genuine concerns as "culture wars".
You could have a super right wing government and unless they started cracking down on free speech, you would still have people posting crazy left wing views on Twitter, or calling everyone to the right stupid, or making left leaning movies. Saying "its stuff like this that makes me vote for the right" is.... a bit silly.