Precision of a data-driven estimate of hadronic light-by-light scattering in the muon $g-2$: Pseudoscalar-pole contribution