A climate change activist entered the NSW parliament chamber during question time in Sydney, causing confusion and prompting terror fears among those inside.