The trial of a Chinese citizen who fled to Kazakhstan has offered rare insight into China’s secretive internment system, with Beijing’s security campaign in the western region of Xinjiang increasingly putting neighbouring countries in central Asia on edge.