Learning the dynamics of a one-dimensional plasma model with graph neural networks