Activity-rotation relation in the young cluster h Per