Long-term evolution of orbital inclination due to third-body inclination