Star Wars HAS addressed racial inequality, at least more recently. Or at least made an attempt to address it by providing a species that embodies a lot of the issues that minorities have endured, they are called droids.
They are literally second class beings, owned as property, sold between Masters, and forced to do the various menial, and dangerous jobs that the organic beings won't. In Solo, they are shown to even be forced to engage in gladiatorial combat, to the destruction, for the amusement of the organics.
They are coded as being "alive" by the way they are portrayed in the films, as they are clearly shown to have personal agency, outside of direct interaction with an organic, they behave in ways that are designed to instantly convey emotion to the audience, and also their owners. Even the ones that don't actually speak, but just make chirps and bleeps, clearly have an easily recognized human tonal range to their sounds "happy beeps buddy, happy beeps" for example.
Everything about them, conveys the idea to the audience, that they are alive, but they are not treated as equal to the organics. The slave comparison for droids is painfully apparent in the films. But it's only been addressed recently, Solo being the most direct about it, actually having a subplot related to droid rights, and a character directly acting in regards to it. I'm pretty sure that the Rebels cartoon addressed some racial issues as well, but I didn't watch all of that show, so I might be misremembering. But most people, when talking about SW, are specifically only talking about the movies.
So yes, they HAVE addressed it. Trying to do it with the various races just doesn't make sense, given the context of Star Wars. There isn't any black oppression in the films as a plot element, as a large majority of the characters presented in SW aren't even human at all. I personally do think that the droid situation in SW is a very fascinating one, and a ripe opportunity for storytelling, as they have set a great stage for doing what scifi often does. Providing commentary about social issues, but using an "alien" filter in regards to the groups in question, to provide at least one layer of separation from the issues being too raw for some audiences.