Actuator with a non-contact position sensor