A 19-year-old woman accused of waving a banned Hezbollah flag at a pro-Palestine protest has faced court.