For anybody using OBS Studio on Windows 7, here are the minimum performance settings to get OBS Window Capture to work. You need to turn on these settings:
Enable desktop composition
Use visual styles on windows and buttons
This info came from experimenting, not a deep dive into the technical bits.