Nope, the level of leader pokemon whether higher or lower is irrelevant for shaking grass. Repel WILL NOT apply for encounters that are labelled as 'special' such as shaking grass, water holes when surfing or fishing.
So to be more specific to your answer, YES repel will affect your encounter...