Jonathan Schmid’s outrageous free-kick was the difference as Freiburg moved above Bayern with a narrow win over Wolfsburg.