Local Torelli Criterion for Smooth Hypersurfaces via the Jacobian Ring