The painter, renowned for his atmospheric landscapes, created the sketch of Hampton Court Castle in England when he was about 21