You have the right to free speech. Your employer, like anyone else, has a right to not be associated with what you say.