Mitigating stellar activity jitter with different line lists for least-squares deconvolution. Analysis of a parametric and a randomised line selection