The White House’s attacks on academia and budget cuts for research have provided an opening for other countries to poach leading scientists.