A Conservative motion to to overturn a law which set the default speed limit at 20mph in built-up areas was rejected by the Welsh Parliament.