Koopman-Based Learning and Control of Agile Robotic Systems