President Biden plans to confront President Vladimir V. Putin of Russia about recent ransomware attacks on U.S. companies and government agencies.