Democrats showed up, Trump-backed candidates underperformed and inflation wasn’t the whole story: Here are last night’s lessons.