The president’s statements seem to contradict his earlier comments that he knew of no payments to the actress who says she had an affair with Mr. Trump.