WASHINGTON  President Obama said on Monday that he had urged President-elect Donald J. Trump to reach out to minority groups, women and others who were alienated by his campaign, during the president’s first news conference since Mr. Trump won the election in a stunning upset that has imperiled Mr. Obama’s legacy.