Graphql delete mutation doesn't work with localized content
### Node Version

20.10.0

### NPM/Yarn/PNPM Version

10.2.5

### Strapi Version

5.9.0

### Operating System

Linux (Debian/Ubuntu)

### Database

SQLite

### Javascript or Typescript

Typescript

### Reproduction URL

_No response_

### Bug Description

When performing a delete mutation with locale variable enabled, the request return successfully the documentId of the deleted item but it is not delete.

The mutation :

![Image](https://github.com/user-attachments/assets/8afaf587-56df-4cf2-9966-61831eb5498c)

Then if I fetch again :

![Image](https://github.com/user-attachments/assets/b663f391-625e-4968-9a5b-3567ab1c040b)


### Steps to Reproduce

1. Create a Collection-type
2. Enable an other localization
3. Create a localized content
4. Try to delete it via graphql delete

### Expected Behavior

The item should be deleted.

### Logs

```shell

```

### Code Snippets

_No response_

### Media

_No response_

### Additional information

_No response_

### Confirmation Checklist

- [x] I have checked the existing [issues](https://github.com/strapi/strapi/issues) for duplicates.
- [x] I agree to follow this project's [Code of Conduct](https://github.com/strapi/strapi/blob/develop/CODE_OF_CONDUCT.md).