Physics-informed neural networks for high-dimensional solutions and snaking bifurcations in nonlinear lattices