Single-electron spin resonance detection by microwave photon counting