The Emir of Qatar spoke of a "race against time" to reach a deal on a truce in Gaza, despite US confidence in reaching a deal by Monday.