Entanglement entropy in causal set theory