Horse hoisted to safety after getting stuck in dumpster