Maximilian, Hessen-Kassel, Landgraf