This is a great approach!
I think that pointing a Post Event webhook to your application would work for this. When a post is deleted, the webhook’s X-Discourse-Event will be set to post_destroyed. You could save the post ids for destroyed posts on your application and exclude those posts when displaying Discourse content on your site.