ViT-A*: Legged Robot Path Planning using Vision Transformer A*