While the Official Secrets Act has such 'whistleblower protection'?
Further the above ignores the fact that the vast majority of the information he took had nothing whatsoever to do with domestic wiretapping, but rather military and defence secrets.
That's something a judge should be able to determine. He should be able to argue in court that his release of information was in the public interest because it revealed criminal wrongdoing by the government. That should be a valid defence, and a judge ought to be able to rule on whether it's true.
However no such defense exists in US law. There's literally no way to blow the whistle on criminal activity by the NSA without committing a crime yourself by blowing the whistle.

