An implementation of the Deutsch-Jozsa algorithm on molecular vibronic coherences through four-wave mixing: a theoretical study