Premier Roger Cook has warned a Donald Trump victory in the United States is a threat to WA jobs.