A top cyber-security official has said Huawei’s “shoddy” engineering practices mean its mobile network equipment could be banned from Westminster and other sensitive parts of the UK.