rustdoc: Include lifetimes in re-exported bounds

Fix #17818