This seems simple enough to solve. Display a modal when screenshoting apps marked as "secure", requiring user intervention. If it appears without your input, simply dismiss it and block the screenshot. This allows users to screenshot when they want to.