Legal fight over Elon Musk’s $56bn Tesla pay deal heads to court