The New York Times has cancelled an event featuring James Franco after recent allegations of his sexual misconduct made headlines.