Unless I'm missing something, demanding that a woman have sex with someone she doesn't affirmatively consent to is, well, forcible rape, correct? So, in this particular case, it comes to down to a legal battle of discrimination law versus rape law. I'd think the reasonable, common sense choice here is that rape law takes precedence over discrimination law.
Not quite. Your reasoning applies equally to all discrimination laws in all workplaces. Forcing a person to do a task against their will is slavery. Therefore, are discrimination laws that prohibit a waiter not serving black customers, a violation of anti-slavery laws?
Most would say, "no". The worker (prostitute or otherwise) is not being forced to do that job. They are completely free to quit and not do the work. Rather the law requires that if you are going to willingly perform a job for pay, then you cannot choose who you will do business with based on their race.
That doesn't mean that the OP doesn't raise an interesting issue. There are and always have been potential problems with anti-discrimination laws. They certainly teeter on the boundary of violating the liberties and personal choices of individuals for the sake of dealing with the very real problem of some groups being systemically refused access to basic goods and services.
When the task required of the individual is that they simply hand a person a product that they want to pay for, the undermining of personal choice is rather minor. When its putting another person's genitals inside your body and allowing them to spew potentially disease or pregnancy causes fluids into you then it becomes a bigger issue.
IOW, do general anti-discrimination equally apply when the job entails lethal risks to workers and the probability of that risk is objectively increased when doing business with members of the groups that discrimination laws protect? Rates of the most common STDs are 5-10 times higher among black men than white men. The reasons for this are irrelevant to the rational safety concerns of prostitutes. The reality is that "serving" black customers puts those in the sex industry at 5-10 times the risk for serious and sometimes deadly, work-related "injuries".
Note that some might try to claim the same is true for all jobs because of violent crime rates. However, that doesn't fly since STDs are directly tied to having sex, while being violently attacked is not directly tied to doing most jobs. In fact, refusal to serve someone breakfast is more likely to get you hurt than serving them, no matter their race.