Quantum scattering of droplets by wells and barriers in one-dimensional Bose–Bose mixtures