NASCAR Cup rookie Cole Custer wins in upset at Kentucky