I've been rejected at a Chinese restaurant but writing something like you did: "If they don't want to serve whites food in exchange for money, they're welcome not to do so. In a few more generations, no one will eat that food anymore." would be inappropriate. Putting everyone in a racial group in a bucket for the behavior of one and condemning them to non-existence is a bit too far. You couldn't do that to any other group without a bit of outcry.
I couldn't write the same comment about Mexicans or Japanese or Germans or Armenians or Ethiopians or Afghans or Filipinos, because I've eaten in restaurants they own in which they happily serve their delicious food. I've also eaten at non-tourist roadside stands serving many of those cuisines to those people in those nations, and felt welcome. On that particular day, I ate at a Taco Bell up the road, along with what seemed to be every teenage member of the tribe. Of course Taco Bell is not authentically anything ("American", maybe?), but that's the direction culinary habits seem to be moving.