A highly efficient single-photon source based on a quantum dot in a photonic nanowire