World leaders adopt peace pledge amid wars in Gaza, Lebanon and beyond