Immigration politics typically are a peculiar barometer of national feelings about the economy.