Understanding the Stokes–Einstein relation in supercooled liquids using random pinning