Quantum critical fluctuations at the onset of incommensurate density wave order with flat hot spots in two-dimensional metals