A federal appeals court has sided with the DOJ in vacating a judge’s order to release a Guantanamo Bay detainee who once swore allegiance to al-Qaida but never fought for the group.