Tough times have always lent themselves to nativist sentiments and closed-door policies. But in the case of highly skilled immigrants, these policies are a recipe for stagnation.