Lattice chiral effective field theory with three-body interactions at next-to-next-to-leading order