The next president is on track to enter office with the fewest number of vacant federal judgeships to fill in more than three decades, the culmination of both parties diverging sharply on what types of judges they want to appoint and putting a high priority on confirming their preferred judges while in charge.