Note that in $\Bbb{Q}_{p}$, we have
$$ \frac{1}{x_k} = \frac{k}{1 + n_k p} = k (1 - n_k p + O(p^2) ) = k - k n_k p + O(p^2). $$
Thus we have
$$ \sum_{k=1}^{p-1} \frac{1}{x_k} = \sum_{k=1}^{p-1} (k - k n_k p + O(p^2)) = \frac{p(p-1)}{2} - p \sum_{k=1}^{p-1} k n_k + O(p^2). $$
But since the map $ k \mapsto x_k$ permutes $S$, it follows that
$$ \sum_{k=1}^{p-1} \frac{1}{x_k} = \sum_{k=1}^{p-1} \frac{1}{k} = O(p^2), $$
where the last equality follows from the Wolstenholme's Theorem. Therefore rearranging,
$$ \sum_{k=1}^{p-1} k n_k = \frac{p-1}{2} + O(p) $$
and the conclusion follows.