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

(the edit_resolution feature of GimpSizeBox is currently used
only by the scale image dialog)

(cherry picked from commit be8f43ff06e33303ec3de3ac2ed343114d6c2af5)