Despite anti-immigrant sentiment, rich countries owe much of their success to the contributions of migrant workers