The president of COP31 has said countries "have not lost hope" despite time fast running out to break the deadlock and agree a deal.