The Polarization Signature of Photospheric Magnetic Fields in 3D MHD Simulations and Observations at Disk Center