Four years after wrapping up his second James Bond film, Oscar-winning director Sam Mendes is back, this time on the front lines of World War One in “1917,” an ambitious drama inspired by his grandfather’s experiences.