It honestly amazes me that racists/bigots could even stand watching Star Trek. I would think the whole message of diversity and accepting others would just drive them insane.
Star Trek's overall message is very much consonant with the ideals of racists, identitarians, whatever we want to call them. The overall message of Star Trek is this:
1. There are biological differences between peoples who evolved in different places. In Star Trek, these heritable traits include intelligence, physical strength, and propensity for engaging in or avoiding certain behaviors, as well as various fanciful sci-fi conceits like telepathy, turning into pure energy, etc.
2. Different populations have very different ways of looking at the world, individual rights and responsibilities, etc. There is a Vulcan way, a Klingon way, a Ferengi way, a Borg way, etc. When these worldviews collide, there is a heightened probability of conflict.
3. Individuals can live among foreign populations, but will never truly assimilate. Spock will always be a Vulcan, Worf a Klingon, Nog a Ferengi, Seven a Borg, etc. These resident aliens are usually few in number, well-behaved, and contribute to the common good. The occasional foil from their species shows how well-adapted to Federation life the individual is, and how poorly-adapted the rest of the species is.
4. Cooperation is possible, but long-term political union requires a powerful civilizational center. In Star Trek, this is Earth--more precisely, it is western civilization, represented by Paris and San Diego. This is because western values are uniquely suited for interstellar exploration and coalition-building. The values of other civilizations were thoroughly repudiated by the ousting of the Indian superman after the Eugenics War and the destruction of the Eastern Coalition in WW3.
5. Entering Starfleet is very difficult. It's based not only on shared values, but also on being extremely talented. Likewise, entering the Federation requires shared values and a certain amount of technological sophistication. No one has the right to enter Starfleet. No world may enter the Federation solely to benefit from its economy. An outsider must demonstrate that they have the same values and that they are adding value before they are admitted to society.
When you look below the surface, Star Trek is very alt right.