Teaching for free is fine. The donation may be interpreted by CIS as payment which may be a violation of your H-1B