Constraints on gamma-ray burst and supernova progenitors through circumstellar absorption lines II. Post-LBV Wolf-Rayet stars