Text this: Measuring topological invariants for higher-order exceptional points in quantum three-mode systems