windows: Add back `hide_title_bar` checks (#32427)

These `if` condition checks were removed in #30828, and this PR adds
them back. This is especially important in the handling of
`WM_NCHITTEST`, where all the calculations are based on the assumption
that `hide_title_bar = true`.


Release Notes:

- N/A
4c3ada5753张小白 committed on 6/11/2025, 9:46:16 AM· committed by GitHubparentb3a8816
1 file changedLine totals unavailable