Lightspeed Commerce reports Q2 loss, revenue up 20% from year ago