Update sizer borders and spacers on DPI change. Closes #18551. See https://github.com/wxWidgets/wxWidgets/pull/1628