Pope Leo has lamented the breakdown of international law on the final leg of his ambitious 10-day tour of Africa.