A Billerica-based company behind knee and hip replacements is set to be acquired by a North Carolina firm.