Use FindWindow for DWM monitor capture

Because the DWM window is an invisible window, the recent change using
FindVisibleWindow instead of FindWindow will cause it to never find the
DWM window.  So, detect if the target is the DWM, and then use regular
FindWindow instead if so.