Quantum interference and Manley-Rowe relations in resonant four-wave frequency mixing in an optically thick Doppler-broadened medium