A senior Chinese official's visit to Parliament House has prompted a security warning to staff working in the building.