A New Hampshire federal judge sentenced the founder of a technology startup to two and a half years in prison for failing to pay more than $14 million in employment and personal taxes, granting a request from prosecutors who said incarceration was the only meaningful sentence.