PHOENIX — A judge has ruled that police in Arizona can immediately start enforcing the most contentious section of the state’s immigration law, marking the first time officers can carry out a requirement that officers, while enforcing other laws, question the immigration status of those suspected of being in the country illegally.