Judge Lewis J. Liman ruled after hearing Giuliani testify for a second day at a contempt hearing called after lawyers for the election workers said the former New York City mayor had failed to properly comply with requests for evidence over the last few months