Maximizing Cumulative User Engagement in Sequential Recommendation: An Online Optimization Perspective