World leaders marked three years since the 7 October Hamas attack with tributes to victims, memorial events and renewed calls for a ceasefire and two-state solution.