Fix LSPTooltip sizing
This was broken since forever but got a lot worse since the wayland fixes. One reason it was broken was because document->height() equaled zero and hence our tooltip had always zero height. An adjustSize helped make it visible but the resulting size wasn't very good. This change fixes it more properly by taking into account various margins etc.