Magnetic activity, differential rotation, and dynamo action in the pulsating F9IV star KIC 5955122