I suggest:
- Restart
- Launch Keyboard Maestro
- Create a new macro
- Add the Screen Capture action, and configure it to capture all screens.
- Run the macro
Hopefully that will poke the system in to prompting for permission to capture the screen.
Check your System Preferences, Security & Privacy, Privacy, Screen Recording.