Energy dependence of two-particle rapidity correlations in proton-nucleus interactions