WhatsApp has launched legal action to stop India enforcing new social media rules effective Wednesday that the tech firm says will break its privacy guarantees.