And when was Omar Khadr convicted of treason?

You seem to have left that detail out of your post.

Treason is only treason when found to be so in a court of law.

Otherwise you could be labeled as treasonous without benefit oof jjudicial process.

We have laws and courts for very good reasons.