Influence of valence band spin-orbit coupling on the entanglement of excitons in coupled quantum dots