Using a neural network approach to accelerate disequilibrium chemistry calculations in exoplanet atmospheres