Pontryagin Maximum Principle for Fixed-Time Endpoint-Constrained Problems