Characterizations of Safety in Hybrid Inclusions via Barrier Functions