Teach variance checker about lifetime bounds from trait object types

Teach variance checker about the lifetime bounds that appear in trait object types.

cc #18262 (this fixes the test case by @jakub- but I am not sure if this is the same issue that @alexcrichton was reporting)

r? @pnkfelix