Ringgit closes lower against greenback