Entanglement- and machine-learning-enhanced sensor for subtracting backscatter disturbances