Loopholes in state law are allowing the rapid proliferation of “ghost” guns in Massachusetts and a Natick lawmaker wants to hold makers of gun parts more accountable for their products.