Observation of superconducting Leggett modes from competing pairing instabilities in single-layer NbSe 2