Long-term dynamics of the electron-nuclear spin system of a semiconductor quantum dot