Alvaro Morata came off the bench to score a late winner for Real Madrid as they beat Athletic Bilbao 2-1 to go top of La Liga.