rustdoc: Fix link title attribute value when field of enum variants
Fixes https://github.com/rust-lang/rust/issues/161028.
The issue was that we link to parent page, we generate a "fragment" to the parent item (so here the enum), because we forgot to take into account that there might be two levels: enum variants can have fields. So in case it's an enum and the `DefId` is a field, we add the field's parent name (so the enum variant) to the title.
r? @Urgau