Check parent term when checking subterm
Taxonomy Term Reference Tree Widget has this option.
install and select it as your taxonomy reference widget and check Select parents automatically in field instance setting form