Variational-cumulant expansion in lattice gauge theory