President Trump sought to withhold over $800 million approved by Congress, escalating a broader dispute over control of federal spending.