China threatens US with 'consequences' over 'malicious' Uighur law