XWIKI-10975: A newly created translation document should not be injected into the context

(cherry picked from commit 37cc9b22ca64987e654821536f52cb3dc99a96bb)