Check function kws against expected before tc-expr

This checks that the given lambda has the right keywords
wrt to the expected type. Doing this should avoid the bad
arity errors that result from the kw protocol encoding.

Closes PR 13898
Rework how keyword methods are handled by TR

Override the `define/foo` forms for racket/class to
allow type annotations and to use TR's keyword property.