This is the small-flower false foxglove, Agalinis paupercula, a semi parasitic, annual plant of wetlands and lake shores.
Though it does photosynthesize, it also extracts some nutrients (sugars and proteins) from other plants using specialized roots called haustoria.