Cooee man fatally shot by police had mental health concerns, inquest hears