Man who attacked Paul Pelosi makes court appearance