Coherence and decoherence in photon spin-qubit entanglement