Mr. Baldoni had accused Ms. Lively and her husband, Ryan Reynolds, of trying to destroy his reputation by accusing him of sexual harassment and retaliation.