PRIEST: Projection Guided Sampling-Based Optimization For Autonomous Navigation