Jason Segal set to play David Foster Wallace