Is it treason to expose abuses of power and illegal practices?
Anyone who works in a classified/borderline field signs multiple documents that skirt around this, limit rights, and especially allow some form of nonjudicial prosecution.
As for that being right or wrong on either side, that is a long and frustrating argument.
Must acts that are committed now be judged by the laws that exist now? Yes.
Anyway, there already are whistleblower protection laws in many places.