A lot depends on your exact climate zone, but unless you live in a cooling dominated climate the exterior layers of wall assemblies needs to be >5 perms to allow the structural sheathing to dry.
Using vapor-impermeable underlayments on roofing is fine- the vapor permeance of even 30# felt and composite shingles is <0.3 perms. If the standing-seam were purlin/furring mounted above a wooden roof deck on 2x timber you can let the roof deck dry to the cavity, but if it mounted to at the deck with an appropriate slip-surface underlayment there isn't sufficient ventilation gap to dry into anyway, and an impermeable membrane under the slip-surface material is fine. With 4" of XPS between the vent gap you only have 0.25 perms of drying capacity, so low-perm membranes between XPS & roof deck is fine. (From a general-greenliness point of view, note that 4" of polyiso would have similar performance, but since iso is blown with pentane rather than the HFC134a used for nearly all XPS in N. America, iso would have only 0.5% the lifecycle greenhouse gas footprint of XPS- 1/200th the impact!) With any thickness furring over 10mm or 3/8", condensation under the metal is well controlled in that stackup. From a structural point of view you'll still probably need to use 2x furring, through-screwed to the structural rafters 24" o.c. with timber screws.
Unvented roof assemblies are better off if there is at least somewhat vapor permeable toward the interior in order to have some drying capacity, which your stackup has. But again, the stackup that makes sense is climate-dependent, and R20 outside of ~R35 cellulose would put your roof deck at risk in climate zones 6 and higher. With metal roofing the risk is somewhat higher than with composite shingles, but if you follow the IRC has prescription for the
nominal minimums on exterior R or greater you'll be fine. But if you went with 2x12 rafters you'd have to bump it up some. (Another reason to go with iso, which would average R5.5/inch even in the coldest zones, though XPS would rise to about R5.2-5.3/inch at those same sub-arctic temps, narrowing the difference.)