Trump’s budget cuts could harm the pipeline for research and industry jobs — and send talented students to other countries.