A gruelling moutain stage of La Vuelta was won by veteran Rafal Majka after an impressive 90km solo ride.