Arithmetic invariants of discrete Langlands parameters