As the protests unfolded, the Iranian director was in Los Angeles to promote his latest film, “It Was Just an Accident,” a fixture of awards season.