Proposal for Anderson localization in transverse spatial degrees of freedom of photons