Legendre duality on hypersurfaces in Kähler manifolds