Critics argue proposed legislation would criminalise ideas and stop students from speaking out