Text this: Loss-tolerant state engineering for quantum-enhanced metrology via the reverse Hong–Ou–Mandel effect