Barnaby Joyce defends timing of his mental health reveal