Two types of shock in the hotspot of the giant quasar 4C74.26: a high-resolution comparison from Chandra, Gemini and MERLIN