Mode Interplay via Quadratic Cascading in a Lithium Niobate Waveguide for All-Optical Processing