Distances to lattice points in knapsack polyhedra