I think if one looks beneath the veneer there's far greater inequality than that. The typical human issues are regularly hit on in the show. I mentioned [1] one great example above in the episode Tapestry. But even more broadly than that consider lifestyle differences. Right now on Earth the lifestyle between a billionaire and an average person isn't all that different. They have nicer stuff and more influence, but we live lives that are still roughly the same. The endless hedonism people think they'd engage in if they had billions gets old fast.
But now imagine on the Star Trek universe the difference in lives between somebody in Starfleet and a regular 'peasant.' You have this class of people out there exploring the universe, making amazing discoveries, and pushing the boundaries of humanity in every way. And then you have the peasantry back on Earth doing Earthy things. The difference in these lives would be dramatically more stark than now a days, to the point that they may as well be two different species. Come to think of it, that could literally happen since Starfleet families would likely disproportionately beget Starfleet children and so on. And these differences in environment/family would create radically different classes.
In reality there would likely be major class protests, claims of nepotism, calls for Starfleet to be 'more inclusive', and so forth. In short order everything would start rapidly descending into disorder.