Probing the transverse magneto‐optical Kerr effect at the nanoscale