Left-side (double jump) wall kick. After entering the mansion, hold slightly left to turn Mario, but don't hold all the way left until you have jump kicked. If you do not do this, you will be too close to the wall when you double jump and will not get enough height from the wall kick.
An alternative RTA strat that is generally not recommended. To do this more consistently, angle sharply facing the right wall, but strafe left during the jumps to avoid the protruding wall corner.