Well you see I happen not to be a lady or a child, so I don't consider someone's words a "consequence" or "retaliation", as they are not injurious.
The yelling at a black lady scenario is fun. If you aren't representing your company when you say a thing, it is illogical for someone to assume the thing you said is representative of the company. Therefore, having not represented your employer, your employer should not suffer as a result of your words. Of course despicable people who do not support free speech will always exercise whatever power they have to harm or threaten the employer until the employee is fired. This is the greater injustice by far.
I work with some guys who are wildly racist, hate the jews, everything. I don't care and why would I? Having great opinions is not a part of the job description. If they bother me while I'm working that's another story but on their own time they can say whatever they want, obviously, because I'm not psychotic.
in the racist job scenario even if we reduced the "consequences" down to people just calling that employers to use their free speech to tell them they shouldnt employ a racist eventually most employers would cave just to get rid of the problem. obviously people who are making threats on the employer or things like that are wildly out of line. but even people using calm free speech is going to result in a firing still.
We just went through an entire decade of people being fired from their jobs and subsequently being erased from public life for voicing opinions that didn't vibe with the tastes and preferences of the upper-middle-class when it came to topics such as race and gender. It's weird to see people still support this. And it's even weirder to see people suggest that the correct punishment for an individual violating these preferred tastes is to be barred from having a bourgeois job that provides comfortable living standards lol
just like with #metoo the initial things are usually not a problem, the problem is people thinking they have a new tool to be nasty. so just like people tried to cancel aziz ansari for basically just being an awkward guy on a date, people also tried to cancel people for racial things that were not really a problem. like someone calls a black lady ghetto or a college kid has dreads in his hair.
but free speech is the same, like we all for the most part support it as a concept but dont advise people use it in a wide variety of ways. we might not want them jailed, but all recognize many people exercising free speech on both sides of the aisle are just complete idiots.