Quantum Coherence Regulated by Nanoparticles in a Whispering‐Gallery‐Mode Microresonator