A microwave-assisted spectroscopy technique for determining charge state in nitrogen-vacancy ensembles in diamond