In a novel written on the eve of World War I, H. G. Wells imagines a war “to end all wars” that begins in atomic apocalypse but ends in an enlightened utopia.