Construction of π± photoproduction amplitudes at high energy from dispersion relations and local duality