MIGHTEE-H I: the first MeerKAT H I mass function from an untargeted interferometric survey