As of now there is no such feature that can disable email invite using Graph API. There is already a feature request available for this. Please upvote this feature request so that the product team can include this feature in the future.
(If the reply was helpful please don't forget to upvote or accept as answer, thank you)