Witnessing single-photon entanglement with local homodyne measurements