In yā ayyuhā al-ṭālibu, hā marks attention and yā is vocative.

Vocative Particles: Five Forms, Uses and Parsing