Dyadic sets, maximal functions and applications on ax + b-groups