Is it appropriate or acceptable to thank a professor for their dissenting public opinion?
Yes.  Telling someone you appreciate their taking a public stand you agree with, thanking them for it, is always appropriate and appreciated, especially when you suspect they've taken some heat for doing so.