ParkFormer: A Transformer-Based Parking Policy with Goal Embedding and Pedestrian-Aware Control