Hi
Instead of detecting a wall, what about adding a non blocking collider to the front of the wall small enough to engage the player wall run but not too big he latches from anywhere,
On enter collision box wall run, on exit collision box fall and then just code in the jump.