It's no longer a question of disguising it, it's simply analogy as in holding a mirror to the modern world. Where it becomes relevant is that since it is scifi and still holds reputation for being "escapism" or childish, it may slip some ideas into minds that are not looking for any and not expecting it.
RAMA
RAMA
Trek very rarely does social issues well enough to be anything other than a minor embarrassment.
TOS was able to sometimes do it well because American TV was so devoid of controversial material that allegorical treatment of issues demanded and came across as somewhat clever.
The Trek approach of "let's disguise this" just looks clumsy and cowardly in the current environment. Hell, even a superficial popcorn show like Supergirl just goes for it: the writers want to say that rounding up and deporting undocumented immigrants is evil, they do an episode where evil people round up and try to eject some aliens.