Q-factor measurements through injection locking of a semiconductor-glass hybrid laser with unknown intracavity losses.