fix: missing `check_no_metavar_no_fvar` checks at `inductive.cpp` (#14607)

This PR adds a missing `check_no_metavar_no_fvar` checks to the kernel
inductive type module. Without it, users could use metaprogramming to
sneak in nested inductive declarations containing free variables or
metavariables. Note that Comparator would catch this exploit, since
lean4export refuses to export declarations containing free variables or
metavariables.
1 file changed