Transverse localization in nonlinear photonic lattices with second-order coupling