An inquest has detailed the mental decline of Bondi Junction Westfield stabber, Joel Cauchi, before his mass killings in April 2024.