Text this: Noise reduction via optimal control in a light-matter quantum system