China slams the United States after Trump signs legislation backing Hong Kong