Oladapo Afolayan snatched a 2-1 win deep into stoppage time as Bolton came from behind to triumph at Fleetwood.