It was during the Australian leg of One Direction's mammoth global tour that Zayn Malik resolved to turn his back on fame.