Trump’s lawyers had asked judge to throw out the case ‘in order to facilitate the orderly transition of executive power’ as president-elect enters White House