A teenage artist has become one of the youngest ever painters to win a major prize offered by a prestigious Scottish art exhibition.