Australia’s most populous state said it will ax a Chinese-funded education program that teaches Mandarin in schools amid fears over potential foreign influence.