Boston-based Rapid7 Inc., in a deal valued at $145 million, made its biggest acquisition to date in the 20-year history of the cybersecurity company.