Momentum-resolved charge excitations in high-Tc cuprates studied by resonant inelastic X-ray scattering