Fix EZP-22133: Define ezpublish.api.repository as a lazy service

https://jira.ez.no/browse/EZP-22133

`composer update` will be needed.