A filmmaker’s obsession with mortality led him on a years-long global odyssey. Here’s what he learned.