Nasdaq leads losses as tech weakness dents Wall Street