US President Donald Trump and the leaders of Egypt, Qatar and Turkey have signed a declaration for bringing peace to Gaza at a summit in the Egyptian resort of Sharm el-Sheikh.