After Michael Cohen’s day in court, the president is in very real legal jeopardy. It’s now conceivable he could be forced to resign