Leader–follower consensus on activity-driven networks