The screen adaptation of Jennifer Nivens’ New York Times YA best-seller about two high schoolers coping with mental illness will co-star Elle Fanning and Justice Smith.