MONTE LUSSARI, Italy—Primož Roglič all but secured the Giro d’Italia title on Saturday by overtaking leader Geraint Thomas on the penultimate stage despite having a mechanical problem on the mountain time trial. Roglič started the stage 26 seconds behind Thomas—who was trying to become the oldest Giro champion in history—but…