Islamic State says one of its fighters carried out a knife attack in Melbourne in which one person died and two were wounded.