The FTC banned noncompete agreements this week, but state and federal laws can help companies protect their intellectual property.