Detention of Imran Khan violates international law, UN working group says