The King of Daylam doesn't care what the Kingdom of Daylam's laws say about vassal wars, because he's not a vassal of himself.
How to stop vassals from launching external wars:
- Only have de jure vassals. Either stay within your de jure borders, or put up with vassals launching external wars during the period in which you're assimilating territory into your de jure realm.
- Make sure that your vassals who border the outside world are as weak as possible, i.e. not vassal kings, and especially not vassal kings of notably strong kingdoms like Daylam. This won't completely stop external wars, but it will reduce them since the AI does a crude strength calculation (though does not account for co-religionists joining in on defensive holy wars, for example). A related trick is to keep key border provinces in your demesne. For example, if you're trying to take over Persia but don't want your vassals to push on into Arabia, holding Hormuz is very helpful since it keeps the strait border in your hands. And it's a nice Silk Road province.

- When/if your vassals do win a war, create or usurp the corresponding title before they do, then hand it out to someone irrelevant and grant them independence. That way you have a weak buffer state on your border, of your own religion so your vassals won't have a holy war CB on them. The buffer duchy you just created may well get pounded by AI holy wars from other nearby religions, but if you're concerned about your religion's moral authority you can step in to aid the defense. The failure mode that I've seen is if the buffer state is attacked by two separate holy wars at the same time; you can only intervene in one at a time, and they'll probably be overrun and conquered by the other. Still, no big deal, you didn't want the land anyway, and your moral authority can probably take the hit without any real problem.
In your particular case, there's not a lot you can do. You've got very long borders, far beyond de jure e_byzantium, and already have a k_daylam vassal. So for the time being, vassals gonna vassal. If you don't care about Daylam, you could cut it loose as a particularly large and rich buffer state, but you probably want to keep it.