Greater Manchester will elect Andy Burnham’s successor as mayor next week, but what can the prime minister expect from the first electoral test for his Labour Party? Dan Haygarth finds out