A man has been charged and refused bail after allegedly wielding an unusual item that resembled a ‘Glock’ firearm behind NSW parliament.