On the planar dual Minkowski problem