This Seeking Tech guide will teach you how to properly pull off a wall jump in Astro Bot.
When running up a wall, tilt the analog towards the opposite wall. When you start moving the analog, press X a split second later. Continue holding the analog in the same direction to keep running up the opposite wall.
Use the following video as a reference: