Primoz Roglic stormed to victory on stage 10 of the Vuelta a Espana to take the race leader's red jersey.