At the Marrakech Film Festival on Sunday, Rian Johnson, director of “Knives Out” and “Star Wars: The Last Jedi,” said he is optimistic about indie filmmaking. He named YouTube as one of the strongest routes for early-career filmmakers to get work seen and compared it to what the Sundance Film Festiv