US climate envoy John Kerry will soon step down from his role to work on President Joe Biden's re-election campaign, officials have told US media.