Wilhelm II., Meißen, Markgraf