The Senate voted along party lines on Thursday to confirm Russell T. Vought to lead the Office of Management and Budget, putting in place one of the most powerful architects of President Trump's agenda to upend the federal bureaucracy and slash spending that the administration thinks is wasteful. In speeches, Mr. Vought made clear that he relished the opportunity to overhaul the ranks of career federal workers that Mr. Trump views as part of the "deep state."