Add lint for unused lifetimes

A step towards  #12805.

 I will extend this PR to warn for things like this as well:
```
struct Foo<'a> {
    a: int
}
```
Could place this before the `span_lint` call to avoid the rightward drift.