It's not about the joke. It's really about "Can your company fire your for something said privately". The answer should be no.
I don't understand why you think it was said privately.
Standing up in a room of a thousand people and advocating rape is not private. Just because it's not broadcast to the public in general doesn't make it private. If it was a private joke they should have sent private messages to each other.