The main difference between Pratchett and 90% of what is being cranked out at the moment is he was not quite so overt with his real world comparisons. While there are obvious one equivalents there are much less clear ones.
Dwarf women for example are encourage to keep their feminine identity concealed, only exposed between a dwarven partner and it very clearly calls out dwarf identity attitudes as akin to religion. So a religion where women are encouraged towards attire that completely conceals their feminine qualities, only revealed between them and their chosen partner. What real world religion could possibly have anything you could compare to it? He never overtly made that comparison because there are many other things it can be compared to too but it's one of the ones you could make. As you say, he would be unlikely to deny the trans metaphor because that is a possible interpretation as with Equal Rites.
However as was posted earlier in the thread he is not overly simple with what makes a character one of the villains. For example he does not make those who chose to embrace that part of dwarvern culture as evil either. His villains are those who strip the opportunity to be able to choose.
For a more directly SJW equivalent there's "The Campaign For Equal Heights" a bunch of busybody humans who campaign for the rights of the more diminutive citizens such as dwarves. While I might need to double check to make sure I neither hallucinated these nor am remembering them incorrectly their demands over the course of the books have included;
Only dwarves be allowed to investigate dwarf crimes
1.5 x the number of dwarves should be in the city watch than humans to make up the height disparity
That dwarves should not be allowed to move to the city and send money home because that perpetuated a sterotype, irrespective of the dwarves themselves being fine with it
They also branch out to fight for the rights of gnomes in other books which goes worse. "The [Campaign for Equal Heights] was always ready to fight for the rights of the differently tall, and was not put off by the fact that most pixies and gnomes weren’t the least interest in dressing up in little pointy hats with bells on when there were other far more interesting things to do. All that tinkly-wee stuff was for the old folks back home in the forest - when a tiny man hit Ankh-Morpork he preferred to get drunk, kick some serious ankle and search for tiny women. In fact the CEH now had to spend so much time explaining to people that they hadn’t got enough rights that they barely had any time left to fight for them."
It was always made clear this group was to be pointed to and laughed at and those they claimed to fight for often disliked them more than anyone else. They were the SJWs of the Discworld and the books laughed at them.
Also Pratchett was, while critical of corrupt police forces, fairly pro-police given the major focus on the Watch across a lot of the books. And very contemptuous of people interfering with the police with zero practical experience but a desire to interfere on the grounds of "we know what the people we have no interaction with want from a police force we have no understanding of."