rustdoc: Use proper line break hints with the <wbr> tag

Prevents zero-width spaces from appearing in copy-pasted paths.

Fixes #16555