Invariance Principle in Hybrid Systems Modeled by Mixed Mappings