VCL: Rearrange function locations and accessibility in window.hxx

A whole bunch of functions in include/vcl/window.hxx should be private,
a number should be protected. Change this now and fix some formatting
whilst I'm about it.

Change-Id: I8bae0112dcecffb7c703fe35e8db6676c1b5f584