I struggled with this problem for a half hour, gave up, then didn't touch the game for nearly a year. I came back to it today and turns out I'd just missed a little blurb at the start: "Press X to slide."
Run towards the wall you're stuck at and hold X. It'll get you up there.