Valverde scored a late winner for Real Madrid in a tense 2-1 win at Celta Vigo, keeping their La Liga title hopes alive.