The bill would provide a legal basis for authorities to outlaw Pride events and public displays of the LGBT rainbow flag, and to impose censorship of films and books.