David Mamet, del teatro a Hollywood