Text this: High-fidelity readout of trapped-ion qubits