Trump likens UK encryption law to ‘something you hear about with China’