Pro-democracy activist Anna Kwok's father has been jailed for eight months for a national security offence.