Only long-term solution for Gaza is political: UN envoy