In his last public speech before crucial midterm elections, the president gave a detailed recounting of the Washington landmark’s troubled renovation.