app: enable image new's resolution chain button only if xres == yres

(cherry picked from commit 3abb84022a7cdccc910f747c8714efdf5e979f3f)