A painting of Henry VIII's executed Lord Chancellor will come under the spotlight when the National Trust uses tech to reveal its secrets.