Invisible relations are not copied to the published entity
### Node Version

20.9.0

### NPM/Yarn/PNPM Version

10.1.0

### Strapi Version

5.10.4

### Operating System

MacOS

### Database

SQLite

### Javascript or Typescript

Typescript

### Reproduction URL

_No response_

### Bug Description

When you publish a draft document with the new Document Service a new entry is created in the DB with the same documentId. So you now have 2 entries which belong to the same document. A draft, and the published version.

When you publish the entity, all it's (published) relations are copied to the new entry, except for invisible relations. I think I can consider this a bug. It makes invisible relations unusable.

### Steps to Reproduce

1. Quickstart a new strapi project with the example data option set to true
2. Edit the `src/api/article/content-types/article/schema.json` and add the following to the "category" field:

```
"category": {
      "type": "relation",
      "relation": "manyToOne",
      "target": "api::category.category",
      "inversedBy": "articles",
+     "visible": false 
},
```

3. Go in to the content manager, the quickstart will have created a lot of draft articles.
4. Publish any of the draft articles
5. Inspect the database and notice that all relations have been added to the published entity, except for the category.

### Expected Behavior

Invisible relations should behave should like normal, except for being invisible.

### Related issues

https://github.com/strapi/strapi/issues/22975

### 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).