On-demand semiconductor single-photon source with near-unity indistinguishability