Mean-Field Pontryagin Maximum Principle