Harnessing molecular excited states with Lanczos chains