Heralded Generation of Vectorially Structured Photons With a High Purity