Magnetic-field-dependent quantum emission in hexagonal boron nitride at room temperature