Data-driven dynamical mean-field theory: An error-correction approach to solve the quantum many-body problem using machine learning