The Trump administration has taken steps toward leaving a nearly three-decade-old agreement designed to reduce the risk of war between Russia and the West by allowing both sides to conduct reconnaissance flights over one another’s territories, U.S. officials said.