A dearth of funding, rising interest rates and inflation have all contributed to job cuts numbering more than 2,000 so far among Massachusetts life sciences companies in 2022 alone.