Guarantees for Tuning the Step Size using a Learning-to-Learn Approach