China vows to ‘protect legitimate rights’ amid US sanctions threats over Iran trade