Maine’s highest court on Thursday upheld workers’ compensation benefits for the widow of a Salvation Army portfolio manager who died from a heart attack on a treadmill while monitoring the financial markets on TV and internal email on his BlackBerry.