Israel and Lebanon reached a historic agreement to resolve a long-running maritime border dispute, following months of negotiations guided by the United States.