TORONTO — Illegal immigrants are not entitled to compensation from public funds for a motor vehicle accident, says Ontario’s court of appeal, which has rejected a hard-fought claim from a Brazilian man hurt in a hit-and-run when walking across a Toronto street.