Primary vertex finding in proton-antiproton events with a neural network simulation