European Union and US officials committed in principle to resolving a dispute over electric-vehicle incentives that threatens to spark a trade war, without Washington making specific concessions and time running short.