Researchers training in the United States are thinking about working elsewhere. Here’s how American companies should respond.