Potter’s woes at Chelsea were not entirely of his own making, but his stock has fallen since success at Brighton and his gamble on the West Ham job is a make-or-break moment for his coaching career