Instead of querying the registry, just calls `GetDpiForWindow`.
Winecfg's DPI slider sets `Control Panel\Desktop\LogPixels`. See `programs/winecfg/x11drvdlg.c` Notepad queries `Software\Fonts\LogPixels`, and so doesn't pick up on the change.
I don't believe this changes how Notepad looks to the user, but it is necessary for a further MR I'm working on that adds more information to the status bar.
-- v5: notepad: Use GetDpiForWindow()