Proposed law, allowing courts to remove content that incites violence or ‘endangers mental health,’ is met with pushback from right-wing leaders, who claim it will crimp speech