Hamas has submitted its response to US President Donald Trump’s peace plan, with the group agreeing to hand over administration of the enclave to Palestinian technocrats and free all Israeli captives.