Amazon.com and Walmart Inc.’s plans to dominate India’s online retail landscape have been ambushed by Prime Minister Narendra Modi’s political priorities heading into a tightening election. The vote, which must be held by May, has increased the influence of local retailers that lobbied for growth-crimping curbs on the U.S. giants. On cue, India this month…