Scottish Labour leaders have been accused of breaking the party’s rules by excluding local members from part of the selection process.