This is not the Official Moderator Response to this topic, but here's what I think are reasonable guidelines.
Before escalating: try to resolve the problem amicably
Yes, the question says that this doesn't often work, but it's still worth trying. The problem may be the result of a simple miscommunication, or even a misclick on the part of the Room Owner. Spend a message or two trying to come to a mutually satisfactory understanding. That said, not all disagreements can be resolved this way. If it doesn't seem like you're getting anywhere, especially if the Room Owner says "please drop it", that is the time to end the conversation.
Also check the room's rules to see if they have a customary conflict resolution procedure. For example, I've seen some rooms that have a quarterly "community feedback day" where users are free to propose changes to room rules and discuss administrative concerns, without fear of reprisal or being shut down. This may be an effective way of enacting real structural change, if you've got the patience.
If that didn't work: determine the nature of your grievance
If you were punished because you violated a rule that you think is silly, this may not merit moderator attention. Room Owners have considerable leeway in dictating the rules of conduct of their room. These rules may be stricter than the ones enforced on the main site. It may not be obvious why a rule is in place, but there is usually a good reason. Do your best to adhere to the same conduct that the other users follow.
If the rule directly violates the Stack Overflow Code of Conduct, then this may merit moderator attention. Site rules trump room rules, and moderators have a stake in keeping it that way.
If you feel that you are being personally targeted, and held to an impossible standard that other users are not held to, then this may merit moderator attention. If you are really being singled out to be bullied, then you are entitled to be heard.
When you've decided that you definitely need moderator attention: how to get it
Flagging is the most direct way of getting moderator attention. Use the "flag for moderator" button, available in the triangle menu to the left of every chat message.

It doesn't matter very much what message you flag, specifically. Reasonable choices include:
- The Room Owner's message that you think is unfair.
- The message you wrote where you asked why you were being treated this way.
- The message you wrote that the Room Owner indicated was the reason for your treatment
You can also flag a message that isn't in the room. Go to the Sandbox, or create a new room, post a message there, and flag that message.
Only moderators can see moderator flags, so don't worry about retaliation from Room Owners for flagging in this way.
The moderator flag menu will prompt you to describe your flag. Include a link to the room, and however much detail you can fit into 201 characters. For example:
I am in the chat room https://chat.stackoverflow.com/rooms/0. I am being treated unfairly by Room Owner Kevin. He kicked me, and said that my question was dumb. I think something should be done.
If you need more than 201 characters, you can flag any question or answer on the main site (preferably a post that you wrote), in which case the limit is 500 characters. Be sure to make it clear that your issue is about chat and not the post you're flagging.
After a moderator reads your message, they may come into the room, or invite you to a private room, to discuss the issue further.