Man shot by police after Brisbane stabbing