[MWF] Release capture when clicking LinkLabel (Fixes #2787)

When clicking on a LinkLabel we need to release the mouse capture otherwise the UI might lock up. This helps especially when running in the debugger, but probably in other cases as well.

This fixes Xamarin bug #2787.