Elite athletes from Kobe Bryant to Olympic climbers have used mindfulness to get into a state of flow.