Leaders have gathered in Ankara for a two-day summit slated to cover defence spending and the Russia-Ukraine war.