The Edge of Seventeen director on adapting Are You There God? It’s Me, Margaret, and whether periods actually smell like the monkey bars.