An obscure piece of legislation could sink Huawei’s UK ambitions on human rights grounds