The president took issue with GDP numbers published ahead of the midterms, which were dominated by Democrats in a “blue wave.”