SL Green, Manhattan’s largest office landlord, agreed to buy a midtown Manhattan tower on New York’s corporate headquarters-heavy Park Avenue for $445 million as businesses seek top-quality space to lure and keep talent even as the market struggles from remote working.