Prime Minister Anthony Albanese has confirmed Australia will recognise a Palestinian state at the UN General Assembly in September.