Huawei takes US defence bill to court