Trim Cuts along staircase with angled wall
If the molding has any thickness to it, yes you will need to make a level transition to get the surfaces to line up properly.
Here is a little insight on doing the same thing with a handrail, on an outside splayed corner.
How to make Handrail Transitions with Rotation?