Xi Jinping has acknowledged the “twists and turns” in China’s relationship with Australia, telling Anthony Albanese “great care” needed to be taken to maintain the partnership.