On the discrepancy of two-dimensional perturbed Halton--Kronecker sequences and lacunary trigonometric products