China has lodged a formal representation with the UK after British border authorities subjected Chinese citizens to extended questioning and seizures of personal electronic devices, including mobile phones.