First, I probably would have fired you for lack of communications skills. Forget the other things. Work on that.
But, as far as your situation, it's impossible to know whether you actually have a wrongful termination case or not, since you've failed to provide meaningful and understandable information about the specifics. But regardless, your worry about the so-called "right to work" laws coming into play is incorrect. Those laws don't apply to the rail and airline industries, because state laws can't trump federal laws. Federal whistle-blower protection laws in the AIR-21 Act protect you from being fired for writing up mechanical discrepancies. Anti-labor state laws can't override that.