fix: add delete validation (#5428)
[ORM-953](https://linear.app/prisma-company/issue/ORM-953/validation-for-deleteone)
Adds validation to the query graph. I didn't remove the hardcoded check
in the query interpreter because the function is currently defined to
return a `SingleRow` so it has to basically do the same validation
before this check even happens. I don't think it's worth refactoring the
query interpreter at this point so I left that as is.