The charges against Pavel Durov reflected an ongoing fight over one of the most popular messaging and media apps in the country.