The NSW Liberal Party is almost certain to lose the ultra-marginal seat of Ryde after the incumbent Jordan Lane announced he will leave state politics after just one term.