Correctly scale quadmesh linewidth to dpi

As this touches C++ code, it will have a non-straightforward merge to master...
This bug is only visible at higher dpis, which is why I did it this way.  But given the other test that failed here (test_axes:pcolormesh), it's probably best to just update the baseline for that test and not add a new test at all.