Tailored fibre waveguides for precise two-axis Lissajous scanning