Racist? No. Racism adjacent? Perhaps. Really, really terrible, in the running for worst Star Trek episode of all time? Absolutely.
TNG S1 may have been terrible, but look at it this way. Can you really say it was worse than 75% of network TV shows? If Whitney can get renewed for a second season, I think Star Trek: TNG can. It did get stronger toward the end of the season.
It's kind of ironic that the third episode of Stargate was exactly the same way. Tribal Mongolians kidnap Carter. Only they end up trading for her. And then at the end Carter has to end up fighting the tribal leader, proving she is a strong, blonde, short haired, badass female.
Both the third episode of their series. Both in the running for worst in series. Both with very similar plots.