Australia says church stabbing was terrorist act