The Treasury secretary is also facing pushback on the Trump administration’s trade policies at the global gathering.