Prime minister says he ‘in lockstep’ with chancellor who will be in the position for a ‘very long time to come’