Effect of an excited-state optical transition on the linewidth enhancement factor of quantum dot lasers