Season 5, Episode 17 features a genderless species that enforces a type of conversion therapy on any member of the species that believes they do have a gender. It's very thinly veiled, if you could consider it veiled at all.
I think I would agree that TNG's politics weren't considered extreme at the time. However, it's easy to believe that some themes the show touches on would be considered "woke" today.