WASHINGTON — President Barack Obama formally endorsed Hillary Clinton's bid for the White House on Thursday, praising his former secretary of state's experience and grit, and urging Democrats to unite behind her in the fight against Republicans in the fall.