PITA: Preference-Guided Inference-Time Alignment for LLM Post-Training