Ringgit ends lower against US dollar