Universal properties of dissipative Tomonaga-Luttinger liquids: A case study of a non-Hermitian XXZ spin chain