Active demultiplexing of single-photons from a solid-state source