Determining the systemic redshift of Lyman-alpha emitters with neural networks and improving the measured large-scale clustering