Add line selection via triple-click
This commit implements line selection via triple clicking as in other major PDF readers. When a triple-click is detected, a new lineAt() method identifies all text entities on the same visual line by searching both backwards and forwards from the clicked position by checking vertical overlap and determine which entities belong together. As other pdf readers tend to clear any selection on fourth click, this does the same.
Fixes BUG: 424798