I have a Rottweiler with Hip Dysplasia, she leads a full happy life. Once you find out what's wrong I will give you my daily supplement routine. She has done very well, and it's not the end of the world...somedays I find it hard to believe she has HD.
Even if your dog doesnt have HD it's still a good idea to put them on Glucosamine, Chondroitin, glycosaminoglycans to protect joint cartilage, help heal damaged areas and lubricate joints. It's also a really good idea to give any dog omega 3 fatty acids - canned sardines, wild canned salmon (sockeye is always wild), hemp seed oil, crushed flax seeds/or oil. Fish body oil.
With HD, the first signs my Rottie gave was the lazy sit, stiffness in the hind end, somedays walking on tippy toe on one back leg etc.
It could be a number of things, your dog could have pulled a muscle. My Dobe mix did this and held his leg up periodically, then he would run and play and just seemed to favor it every so often. I had a mandatory rest day for him with only leash walks to help his leg heal.
If the dog is holding the leg up like a stork at times, doesn't put a whole lot of pressure on the leg...it could be a partially torn ligament or a full blown ruptured cruciated ligament.
Good luck with your Vet, I have been through every thing and will give you the procedure I took to help my dogs heal...for example my Newf with the blown cruciate we gave her Rhus tox (homeopathic remedy), the Glucosamine supplement and of course all the other supplements and omega 3 fatty acids.
Until your appointment have your dog rest with leash walks only until you determine what's wrong. If your dog is overweight, cut back on serving size. Also you could make a potato poultice, made from shredded raw potatoes which can help reduce inflammation apply externally.