Mollweide latitude grid

The function `_get_pixel_distance_along_axis` does not work for geographic
axes, in which pixels that are outside of the map area cannot be
meaningfully transformed back to data coordinates. To be safe, let us
just return `0.0` unless we are on `rectilinear` axes.

Fixes #2299.