Quantum emitter formation in carbon-doped monolayer hexagonal boron nitride