The hearing marked an escalation of lawmakers’ antitrust scrutiny on smartphone makers, and particularly Apple.