On a dynamical system in the Lienard plane. Necessary and sufficient conditions for the intersection with the vertical isocline and applications