During their first meeting since the midterm elections rearranged the power map in Washington, Mr. Obama told Representative John A. Boehner, the incoming House speaker, and Senator Mitch McConnell, the Senate Republican leader, that he regretted not reaching out to them more in his first two years in office and vowed to do better.