Lyft Inc on Wednesday said a price war with rival Uber was easing, boosting shares of both companies and allowing Lyft to raise its outlook for the year and forecast a faster path to profitability.