By deepening defence, technology and political ties with India, France anchors itself in one of the fastest-growing major economies and a pivotal Indo-Pacific actor.