Neutrino interaction classification with a convolutional neural network in the DUNE far detector