Correlated long-range mixed-harmonic fluctuations measured in pp, p plus Pb and low-multiplicity Pb plus Pb collisions with the ATLAS detector