Text this: Verifying the output of quantum optimizers with ground-state energy lower bounds