For more than 1,000 years, the sprawling castle complex perched high above Prague has been the seat of power for Holy Roman emperors, the kings of Bohemia and, now, the Czech president, Milos Zeman. And for the last four years, the Chinese technology giant Huawei has had a contract to fulfill the communication needs of the president and his staff.