AvidXchange Holdings Inc., a financial technology company that helps midsize businesses pay and receive bills, is weighing a sale after getting takeover interest, according to people familiar with the matter.