Luigi III., Mantova, Margravio