Dynamic Systems Admitting the Normal Shift and Wave Equations