Halo structure of $^8$B determined from intermediate energy proton elastic scattering in inverse kinematics